package cn.magictodo.weblog.web.model.vo.ip;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * ip地址记录
 *
 * @author liu
 * @since 2024-03-25 16:03
 */
@Data
@ApiModel(value = "添加ip地址记录VO")
public class AddIpReqVO {

    @ApiModelProperty(value = "ip地址", required = true)
    private String ip; //varchar(20) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'ip地址'

    @ApiModelProperty(value = "国家")
    private String country; //varchar(20) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'country'

    @ApiModelProperty(value = "省")
    private String province; //varchar(20) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '省'

    @ApiModelProperty(value = "市")
    private String city; //varchar(20) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '市'

    @ApiModelProperty(value = "区")
    private String area; //区

    @ApiModelProperty(value = "运营商")
    private String isp; //varchar(20) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'isp'

    @ApiModelProperty(value = "网络")
    private String net; //varchar(20) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'net'

}
